home *** CD-ROM | disk | FTP | other *** search
Text File | 1992-10-07 | 547 b | 23 lines | [TEXT/KAHL] |
- /*
- 9-30-92 • Brigham Stevens
- --------------------------
- The Update Event Handler calls this routine when it
- is time to update a window.
-
- The window to be updated is passed in, just draw it, or case on window type
- or whatever.
- You don't have to erase first, it has been done for you by the update event handler
-
- Also, the printing routine will call this too.
-
- This is not really using a document model architecture.
-
- */
-
- void DrawImage(GrafPtr graf)
- {
- PicHandle pict;
-
- pict = GetPicture(128);
- DrawPicture(pict,&graf->portRect);
- }